package com.szly.phm.common.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2021-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_verification_code")
public class SysVerificationCode extends Model<SysVerificationCode> {

    private static final long serialVersionUID=1L;

    /**
     * 主键Id
     */
    private String id;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 手机验证码
     */
    private String code;

    /**
     * 创建时间
     */
    private Date createDateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
